﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Collections.Generic;
namespace WPFExcelReport
{
    public partial class VZABED
    {
        public DataSet GETZABED(Dictionary<string, object> pm)
        {
            dwData = TBMain.NewRow();
            dwData["ZABMANDANT"] = app.Mandant;
            dwData["ZABNR"] = pm["ZABNR"].ToString();
            if (LANG == "EN")
            {
                dwData["ZABSPRACHKZ"] = "E ";
            }
            SResult = QueryZABED(dwData, 1);
            return SResult;
        } 
    }

    public partial class VZABED
    {
        public string ZABNR { get { if (dwMaster == null) return ""; return dwMaster["ZABNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABNR"] = value; OnPropertyChanged("ZABNR", value); } } //lENGth 3
        public string ZABBEZ { get { if (dwMaster == null) return ""; return dwMaster["ZABBEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABBEZ"] = value; OnPropertyChanged("ZABBEZ", value); } } //lENGth 40

        public string ZABSPRACHKZ { get { if (dwMaster == null) return ""; return dwMaster["ZABSPRACHKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABSPRACHKZ"] = value; OnPropertyChanged("ZABSPRACHKZ", value); } } //lENGth 2
        public string ZABSTATUS { get { if (dwMaster == null) return ""; return dwMaster["ZABSTATUS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABSTATUS"] = value; OnPropertyChanged("ZABSTATUS", value); } } //lENGth 1
        public double ZABZBIN1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABZBIN1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABZBIN1"] = value; OnPropertyChanged("ZABZBIN1", value); } } //lENGth 0
        public string ZABZBED1 { get { if (dwMaster == null) return ""; return dwMaster["ZABZBED1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABZBED1"] = value; OnPropertyChanged("ZABZBED1", value); } } //lENGth 3
        public double ZABZBIN2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABZBIN2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABZBIN2"] = value; OnPropertyChanged("ZABZBIN2", value); } } //lENGth 0
        public string ZABZBED2 { get { if (dwMaster == null) return ""; return dwMaster["ZABZBED2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABZBED2"] = value; OnPropertyChanged("ZABZBED2", value); } } //lENGth 3
        public double ZABZBIN3 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABZBIN3"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABZBIN3"] = value; OnPropertyChanged("ZABZBIN3", value); } } //lENGth 0
        public string ZABZBED3 { get { if (dwMaster == null) return ""; return dwMaster["ZABZBED3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABZBED3"] = value; OnPropertyChanged("ZABZBED3", value); } } //lENGth 3
        public double ZABZBIN4 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABZBIN4"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABZBIN4"] = value; OnPropertyChanged("ZABZBIN4", value); } } //lENGth 0
        public string ZABZBED4 { get { if (dwMaster == null) return ""; return dwMaster["ZABZBED4"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABZBED4"] = value; OnPropertyChanged("ZABZBED4", value); } } //lENGth 3
        public double ZABZBIN5 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABZBIN5"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABZBIN5"] = value; OnPropertyChanged("ZABZBIN5", value); } } //lENGth 0
        public string ZABZBED5 { get { if (dwMaster == null) return ""; return dwMaster["ZABZBED5"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABZBED5"] = value; OnPropertyChanged("ZABZBED5", value); } } //lENGth 3
        public double ZABZBIN6 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABZBIN6"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABZBIN6"] = value; OnPropertyChanged("ZABZBIN6", value); } } //lENGth 0
        public string ZABZBED6 { get { if (dwMaster == null) return ""; return dwMaster["ZABZBED6"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABZBED6"] = value; OnPropertyChanged("ZABZBED6", value); } } //lENGth 3
        public string ZABAENB { get { if (dwMaster == null) return ""; return dwMaster["ZABAENB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABAENB"] = value; OnPropertyChanged("ZABAENB", value); } } //lENGth 8
        public double ZABAEND { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABAEND"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABAEND"] = value; OnPropertyChanged("ZABAEND", value); } } //lENGth 0
        public string ZABNEUB { get { if (dwMaster == null) return ""; return dwMaster["ZABNEUB"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABNEUB"] = value; OnPropertyChanged("ZABNEUB", value); } } //lENGth 8
        public double ZABNEUD { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABNEUD"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABNEUD"] = value; OnPropertyChanged("ZABNEUD", value); } } //lENGth 0
        public double ZABANZAHLG { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABANZAHLG"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABANZAHLG"] = value; OnPropertyChanged("ZABANZAHLG", value); } } //lENGth 0
        public double ZABSKONP1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["ZABSKONP1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABSKONP1"] = value; OnPropertyChanged("ZABSKONP1", value); } } //lENGth 0

        #region======ColumnSchema==========
        /*
                public string ZABMANDANT { get { if (dwMaster == null) return ""; return dwMaster["ZABMANDANT"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABMANDANT"] = value; OnPropertyChanged("ZABMANDANT", value); } } //lENGth 2
               public string ZABKONTOA { get { if (dwMaster == null) return ""; return dwMaster["ZABKONTOA"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABKONTOA"] = value; OnPropertyChanged("ZABKONTOA", value); } } //lENGth 1
                public string ZABFIBU { get { if (dwMaster == null) return ""; return dwMaster["ZABFIBU"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABFIBU"] = value; OnPropertyChanged("ZABFIBU", value); } } //lENGth 4
                public string ZABZART { get { if (dwMaster == null) return ""; return dwMaster["ZABZART"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABZART"] = value; OnPropertyChanged("ZABZART", value); } } //lENGth 1
                public string ZABEMPF { get { if (dwMaster == null) return ""; return dwMaster["ZABEMPF"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABEMPF"] = value; OnPropertyChanged("ZABEMPF", value); } } //lENGth 1
                public double ZABSKOTT1 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ZABSKOTT1"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABSKOTT1"] = value; OnPropertyChanged("ZABSKOTT1", value); } } //lENGth 0
                public double ZABSKOTT2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ZABSKOTT2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABSKOTT2"] = value; OnPropertyChanged("ZABSKOTT2", value); } } //lENGth 0
                public double ZABSKONP2 { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ZABSKONP2"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABSKONP2"] = value; OnPropertyChanged("ZABSKONP2", value); } } //lENGth 0
                public double ZABNTAGE { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ZABNTAGE"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABNTAGE"] = value; OnPropertyChanged("ZABNTAGE", value); } } //lENGth 0
                public double ZABNMON { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ZABNMON"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABNMON"] = value; OnPropertyChanged("ZABNMON", value); } } //lENGth 0
                public double ZABVORZZ { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ZABVORZZ"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABVORZZ"] = value; OnPropertyChanged("ZABVORZZ", value); } } //lENGth 0
                public double ZABVERZZ { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ZABVERZZ"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABVERZZ"] = value; OnPropertyChanged("ZABVERZZ", value); } } //lENGth 0
                public string ZABSSKON { get { if (dwMaster == null) return ""; return dwMaster["ZABSSKON"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABSSKON"] = value; OnPropertyChanged("ZABSSKON", value); } } //lENGth 1
                public string ZABFRACH { get { if (dwMaster == null) return ""; return dwMaster["ZABFRACH"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABFRACH"] = value; OnPropertyChanged("ZABFRACH", value); } } //lENGth 1
                public string ZABVERPA { get { if (dwMaster == null) return ""; return dwMaster["ZABVERPA"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABVERPA"] = value; OnPropertyChanged("ZABVERPA", value); } } //lENGth 1
                public string ZABVERS { get { if (dwMaster == null) return ""; return dwMaster["ZABVERS"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABVERS"] = value; OnPropertyChanged("ZABVERS", value); } } //lENGth 1
                public string ZABBDAT { get { if (dwMaster == null) return ""; return dwMaster["ZABBDAT"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABBDAT"] = value; OnPropertyChanged("ZABBDAT", value); } } //lENGth 1
                public string ZABBIS1 { get { if (dwMaster == null) return ""; return dwMaster["ZABBIS1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABBIS1"] = value; OnPropertyChanged("ZABBIS1", value); } } //lENGth 2
                public string ZABAM1 { get { if (dwMaster == null) return ""; return dwMaster["ZABAM1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABAM1"] = value; OnPropertyChanged("ZABAM1", value); } } //lENGth 2
                public string ZABMON1 { get { if (dwMaster == null) return ""; return dwMaster["ZABMON1"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABMON1"] = value; OnPropertyChanged("ZABMON1", value); } } //lENGth 2
                public string ZABBIS2 { get { if (dwMaster == null) return ""; return dwMaster["ZABBIS2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABBIS2"] = value; OnPropertyChanged("ZABBIS2", value); } } //lENGth 2
                public string ZABAM2 { get { if (dwMaster == null) return ""; return dwMaster["ZABAM2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABAM2"] = value; OnPropertyChanged("ZABAM2", value); } } //lENGth 2
                public string ZABMON2 { get { if (dwMaster == null) return ""; return dwMaster["ZABMON2"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABMON2"] = value; OnPropertyChanged("ZABMON2", value); } } //lENGth 2
                public string ZABBIS3 { get { if (dwMaster == null) return ""; return dwMaster["ZABBIS3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABBIS3"] = value; OnPropertyChanged("ZABBIS3", value); } } //lENGth 2
                public string ZABAM3 { get { if (dwMaster == null) return ""; return dwMaster["ZABAM3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABAM3"] = value; OnPropertyChanged("ZABAM3", value); } } //lENGth 2
                public string ZABMON3 { get { if (dwMaster == null) return ""; return dwMaster["ZABMON3"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABMON3"] = value; OnPropertyChanged("ZABMON3", value); } } //lENGth 2
                
                public string ZABGARANTYP { get { if (dwMaster == null) return ""; return dwMaster["ZABGARANTYP"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABGARANTYP"] = value; OnPropertyChanged("ZABGARANTYP", value); } } //lENGth 2
                public string ZABDISCCRED { get { if (dwMaster == null) return ""; return dwMaster["ZABDISCCRED"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABDISCCRED"] = value; OnPropertyChanged("ZABDISCCRED", value); } } //lENGth 2
                public string ZABFILLER { get { if (dwMaster == null) return ""; return dwMaster["ZABFILLER"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZABFILLER"] = value; OnPropertyChanged("ZABFILLER", value); } } //lENGth 26
                public double ZABAENZL { get { if (dwMaster == null) return 0.0; return  Convert.ToDouble(dwMaster["ZABAENZL"].ToString()); } set { if (dwMaster == null) return; dwMaster["ZABAENZL"] = value; OnPropertyChanged("ZABAENZL", value); } } //lENGth 0
          
       */
        #endregion
    }
}
